﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CDC.SampleShell.Domain.Events
{
    public sealed class RecordSavedEventArgs : EventArgs
    {
        public int UniqueKey { get; private set; }
        public Guid GlobalRecordId { get; private set; }
        public bool IsNewRecord { get; private set; }

        public RecordSavedEventArgs(int key, Guid guid, bool isNewRecord)
        {
            UniqueKey = key;
            GlobalRecordId = guid;
            IsNewRecord = isNewRecord;
        }
    }
}
